package com.ruoyi.business.domain;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * case对象 law_case
 * 
 * @author lwj
 * @date 2021-05-22
 */
public class LawCase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer caseId;

    /** 案件编号 */
    @Excel(name = "案件编号")
    private String caseCode;

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    /** 文件表关联id */
    @Excel(name = "文件表关联id")
    private String fileId;

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    /** 案件对应客户id */
    @Excel(name = "案件对应客户id")
    private String customerId;

    /** 案件对应律师id */
    @Excel(name = "案件对应律师id")
    private Integer lawerId;

    /** 案件状态：0.未受理1.已受理2.已完成（字典项） */
    @Excel(name = "案件状态：0.未受理1.已受理2.已完成", readConverterExp = "字=典项")
    private String caseStatus;

    /** 案件类型（字典项） */
    @Excel(name = "案件类型", readConverterExp = "字=典项")
    private String caseType;

    /** $column.columnComment */
    private String delFlag;

    /** $table.subTable.functionName信息 */
    private List<LawCaseDetail> lawCaseDetailList;

    public void setCaseId(Integer caseId) 
    {
        this.caseId = caseId;
    }

    public Integer getCaseId() 
    {
        return caseId;
    }
    public void setCaseCode(String caseCode) 
    {
        this.caseCode = caseCode;
    }

    public String getCaseCode() 
    {
        return caseCode;
    }

    public String getCustomerId()
    {
        return customerId;
    }
    public void setLawerId(Integer lawerId) 
    {
        this.lawerId = lawerId;
    }

    public Integer getLawerId() 
    {
        return lawerId;
    }
    public void setCaseStatus(String caseStatus) 
    {
        this.caseStatus = caseStatus;
    }

    public String getCaseStatus() 
    {
        return caseStatus;
    }
    public void setCaseType(String caseType) 
    {
        this.caseType = caseType;
    }

    public String getCaseType() 
    {
        return caseType;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<LawCaseDetail> getLawCaseDetailList()
    {
        return lawCaseDetailList;
    }

    public void setLawCaseDetailList(List<LawCaseDetail> lawCaseDetailList)
    {
        this.lawCaseDetailList = lawCaseDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("caseId", getCaseId())
            .append("caseCode", getCaseCode())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("customerId", getCustomerId())
            .append("lawerId", getLawerId())
            .append("caseStatus", getCaseStatus())
            .append("caseType", getCaseType())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("lawCaseDetailList", getLawCaseDetailList())
            .toString();
    }
}
